import { http } from '@/utils/http'

export function usePmSupplierApi() {
  return {
    getSupplier(id: string) {
      return http.get<PmSupplierForm>('/prod-api/admin-api/project/supplier/get?id=' + id)
    },
    getAllSupplierList() {
      return http.get<PmSupplierForm[]>('/prod-api/admin-api/project/supplier/getAllSupplierList')
    }
  }
}
